<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/public/Home/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/public/Home/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="/public/Home/assets/js/echarts.min.js"></script>
    <script src="/public/Home/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="/public/Home/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/public/Home/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/public/Home/assets/css/app.css">
    <link href="/public/Home/assets/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="/public/Home/assets/css/style.css" rel="stylesheet" type="text/css">
    <link href="/public/Home/assets/css/user.css" rel="stylesheet" type="text/css">
    <link href="/public/Home/assets/css/common.css" rel="stylesheet" type="text/css">
    <script src="/public/Home/assets/js/jquery.min.js"></script>
    <link type="text/css" rel="stylesheet" href="/public/Home/assets/css/fileinput.css" />
    <script type="text/javascript" src="/public/Home/assets/js/fileinput.js"></script>
    <script type="text/javascript" src="/public/Home/assets/js/zh.js"></script>
    <script type="text/javascript">
        $(function(){
//          $('input').customInput();
            $('.toggle').each(function(){
                $('div:first',this).addClass('first');
                $('div:last',this).addClass('last');
            });
        });
    </script>
    <script>
        $(function(){
            $(".quentin-head").hover(function(){
                $(this).children(".quentin-ul").stop().slideToggle()
            },function(){
                $(this).children(".quentin-ul").stop().slideToggle()
            })
            $(".quentin-li").hover(function(){
                $(this).children("ul").stop().slideToggle()
                $(this).children("ul").find("a").css({
                    "color" : "#343434"
                })
            },function(){
                $(this).children("ul").stop().slideToggle()
                $(this).children("ul").find("a").css({
                    "color" : "#343434"
                })
            })
        })

    </script>

</head>

<body data-type="index">
<script src="/public/Home/assets/js/theme.js"></script>
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header>
        <!-- logo -->
        <div class="am-fl tpl-header-logo">
            <a href="<?php echo U('user/member');?>"><img src="/public/Home/assets/img/logo.png" alt=""></a>
        </div>
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>
                </span>
            </div>
            <!-- 搜索 -->
            <div class="am-fl tpl-header-search">
                <form class="tpl-header-search-form" action="javascript:;">
                    <button class="tpl-header-search-btn am-icon-search"></button>
                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
                </form>
            </div>
            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="javascript:;">欢迎你, <span><?php echo ($user['username']); ?></span> </a>
                    </li>

                    <!-- 新邮件 -->
                    <li class="am-dropdown tpl-dropdown" data-am-dropdown>
                        <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
                            <i class="am-icon-envelope"></i>
                            <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
                        </a>
                        <!-- 弹出列表 -->
                        <ul class="am-dropdown-content tpl-dropdown-content">
                            <li class="tpl-dropdown-menu-messages">
                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
                                    <div class="menu-messages-ico">
                                        <img src="/public/Home/assets/img/user04.png" alt="">
                                    </div>
                                    <div class="menu-messages-time">
                                        3小时前
                                    </div>
                                    <div class="menu-messages-content">
                                        <div class="menu-messages-content-title">
                                            <i class="am-icon-circle-o am-text-success"></i>
                                            <span>夕风色</span>
                                        </div>
                                        <div class="am-text-truncate"> Amaze UI 的诞生，依托于 GitHub 及其他技术社区上一些优秀的资源；Amaze UI 的成长，则离不开用户的支持。 </div>
                                        <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
                                    </div>
                                </a>
                            </li>
                            <li class="tpl-dropdown-menu-messages">
                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
                                    <div class="menu-messages-ico">
                                        <img src="/public/Home/assets/img/user02.png" alt="">
                                    </div>
                                    <div class="menu-messages-time">
                                        5天前
                                    </div>
                                    <div class="menu-messages-content">
                                        <div class="menu-messages-content-title">
                                            <i class="am-icon-circle-o am-text-warning"></i>
                                            <span><?php echo ($user["username"]); ?></span>
                                        </div>
                                        <div class="am-text-truncate"> 为了能最准确的传达所描述的问题， 建议你在反馈时附上演示，方便我们理解。 </div>
                                        <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
                                    </div>
                                </a>
                            </li>
                            <li class="tpl-dropdown-menu-messages">
                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
                                    <i class="am-icon-circle-o"></i> 进入列表…
                                </a>
                            </li>
                        </ul>
                    </li>

                    <!-- 新提示 -->
                    <li class="am-dropdown" data-am-dropdown>
                        <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
                            <i class="am-icon-bell"></i>
                            <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
                        </a>

                        <!-- 弹出列表 -->
                        <ul class="am-dropdown-content tpl-dropdown-content">
                            <li class="tpl-dropdown-menu-notifications">
                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
                                    <div class="tpl-dropdown-menu-notifications-title">
                                        <i class="am-icon-line-chart"></i>
                                        <span> 有6笔新的销售订单</span>
                                    </div>
                                    <div class="tpl-dropdown-menu-notifications-time">
                                        12分钟前
                                    </div>
                                </a>
                            </li>
                            <li class="tpl-dropdown-menu-notifications">
                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
                                    <div class="tpl-dropdown-menu-notifications-title">
                                        <i class="am-icon-star"></i>
                                        <span> 有3个来自人事部的消息</span>
                                    </div>
                                    <div class="tpl-dropdown-menu-notifications-time">
                                        30分钟前
                                    </div>
                                </a>
                            </li>
                            <li class="tpl-dropdown-menu-notifications">
                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
                                    <div class="tpl-dropdown-menu-notifications-title">
                                        <i class="am-icon-folder-o"></i>
                                        <span> 上午开会记录存档</span>
                                    </div>
                                    <div class="tpl-dropdown-menu-notifications-time">
                                        1天前
                                    </div>
                                </a>
                            </li>


                            <li class="tpl-dropdown-menu-notifications">
                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
                                    <i class="am-icon-bell"></i> 进入列表…
                                </a>
                            </li>
                        </ul>
                    </li>

                    <!-- 退出 -->
                    <li class="am-text-sm">
                        <a href="javascript:;">
                            <span class="am-icon-sign-out"></span> 退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>

    </header>
    <!-- 风格切换 -->
    <div class="tpl-skiner">
        <div class="tpl-skiner-toggle am-icon-cog">
        </div>
        <div class="tpl-skiner-content">
            <div class="tpl-skiner-content-title">
                选择主题
            </div>
            <div class="tpl-skiner-content-bar">
                <span class="skiner-color skiner-white" data-color="theme-white"></span>
                <span class="skiner-color skiner-black" data-color="theme-black"></span>
            </div>
        </div>
    </div>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar">
        <!-- 菜单 -->
        <ul class="sidebar-nav">
            <li class="sidebar-nav-heading"><i class="am-icon-cubes sidebar-nav-link-logo"></i>项目</li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/project');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 项目大厅
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/myproject');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 我的项目
                </a>
            </li>
            <li class="sidebar-nav-heading"><i class="am-icon-eye sidebar-nav-link-logo"></i>漏洞</li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/mybugs');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 我的漏洞
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/subbug');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 提交漏洞
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/myfav');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 我的收藏
                </a>
            </li>
            <li class="sidebar-nav-heading"><i class="am-icon-group sidebar-nav-link-logo"></i>团队</li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/myteam');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 我的团队
                </a>
            </li>
            <li class="sidebar-nav-heading"><i class="am-icon-wrench sidebar-nav-link-logo"></i>账户设置</li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/myintro');?>" class="actived">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 基本资料
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/firm');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 厂商认证
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/crash');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 资金账户
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/bindphone');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 手机绑定
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/weixin');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 微信绑定
                </a>
            </li>
            <li class="sidebar-nav-link">
                <a href="<?php echo U('user/amend');?>">
                    <i class="am-icon-angle-right sidebar-nav-link-logo"></i> 密码修改
                </a>
            </li>
        </ul>
    </div>

    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">

        <div class="user_rightmain">
            <div class="inner">
                <div class="user-main">
                    <div class="panel panel-default mybugs">
                        <div class="tit06">
                            <h3>个人设置</h3>
                        </div>
                        <div class="tab-bugs">
                            <div class="tab-bugs">
                                <div class="btn-group tab-wraper02">
                                    <a class="btn btn-default active" href="<?php echo U('user/myintro');?>">
                                        基本信息 </a>
                                    <a class="btn btn-default" href="<?php echo U('user/firm');?>">
                                        厂商认证 </a>
                                    <a class="btn btn-default" href="<?php echo U('user/crash');?>" id="fundingAcco">
                                        资金账户 </a>
                                    <a class="btn btn-default" href="<?php echo U('user/bindphone');?>">
                                        手机绑定 </a>
                                    <a class="btn btn-default" href="<?php echo U('user/weixin');?>">
                                        微信绑定 </a>
                                    <a class="btn btn-default" href="<?php echo U('user/amend');?>">
                                        修改密码 </a>
                                </div>
                            </div>
                        </div>
                        <div class="setup-wraper setup-form">
                            <form class="form-horizontal" action="" id="" method="">
                                <input name="Token" type="hidden" value="4efeb953">
                                <div class="form-group">
                                    <label for="name" class="col-sm-4 col-md-4 col-lg-2 control-label">帐户名</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <fieldset disabled=""><input type="text" id="name" class="form-control" placeholder="<?php echo ($user['username']); ?>" value="<?php echo ($user['username']); ?>"></fieldset>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label for="header" class="col-sm-4 col-md-4 col-lg-2 control-label">头像</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <div class="header-wrap pull-left" style="height:90%;width:80%;">
                                            <input type="file" name="image" class="projectfile" value="<?php echo ($user['avatar']); ?>"/>
                                            <style>
                                                .file-preview-image{
                                                    width:180px;
                                                    height:180px;
                                                    border-radius: 5px;
                                                    margin-left:-5px;
                                                }
                                                .file-preview{
                                                    border:none;
                                                }
                                                .krajee-default.file-preview-frame{
                                                    border:none;
                                                    box-shadow: none;
                                                }
                                                .btn-file{
                                                    margin-top:10px;
                                                    margin-left:10px;
                                                }
                                                .krajee-default.file-preview-frame .file-thumbnail-footer{
                                                    height:10px;
                                                }
                                            </style>
                                            <script>
                                                $(function() {
                                                    var projectfileoptions={
                                                        showUpload : false,
                                                        showRemove : false,
                                                        allowedPreviewTypes : [ 'image' ],
                                                        allowedFileExtensions : [ 'jpg', 'png', 'gif' ],
                                                        maxFileSize : 2000,
                                                        language : 'zh'
                                                    };
                                                    $('input[class=projectfile]').each(function () {
                                                        var imageurl = $(this).attr("value");

                                                        if (imageurl) {
                                                            var op = $.extend({
                                                                initialPreview: [ // 预览图片的设置
                                                                    "<img src='" + imageurl + "' class='file-preview-image'>",]
                                                            }, projectfileoptions);

                                                            $(this).fileinput(op);
                                                        } else {
                                                            $(this).fileinput(projectfileoptions);
                                                        }
                                                    });
                                                })
                                            </script>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label for="country" class="col-sm-4 col-md-4 col-lg-2 control-label">国家</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <select name="user_country" id="country"  class="form-control">
                                            <option value="AL">阿尔巴尼亚</option>
                                            <option value="DZ">阿尔及利亚</option>
                                            <option value="AF">阿富汗</option>
                                            <option value="AR">阿根廷</option>
                                            <option value="AE">阿拉伯联合酋长国</option>
                                            <option value="AW">阿鲁巴</option>
                                            <option value="OM">阿曼</option>
                                            <option value="AZ">阿塞拜疆</option>
                                            <option value="EG">埃及</option>
                                            <option value="ET">埃塞俄比亚</option>
                                            <option value="ET">埃塞俄比亚</option>
                                            <option value="ET">埃塞俄比亚</option>
                                            <option value="IE">爱尔兰</option>
                                            <option value="EE">爱沙尼亚</option>
                                            <option value="AD">安道尔</option>
                                            <option value="AO">安哥拉</option>
                                            <option value="AI">安圭拉岛</option>
                                            <option value="AG">安提瓜和巴布达</option>
                                            <option value="AT">奥地利</option>
                                            <option value="AX">奥兰岛</option>
                                            <option value="AU">澳大利亚</option>
                                            <option value="MO">澳门特别行政区</option>
                                            <option value="BB">巴巴多斯</option>
                                            <option value="PG">巴布亚新几内亚</option>
                                            <option value="BS">巴哈马</option>
                                            <option value="PK">巴基斯坦</option>
                                            <option value="PY">巴拉圭</option>
                                            <option value="PS">巴勒斯坦民族权力机构</option>
                                            <option value="BH">巴林</option>
                                            <option value="PA">巴拿马</option>
                                            <option value="BR">巴西</option>
                                            <option value="BY">白俄罗斯</option>
                                            <option value="BM">百慕大群岛</option>
                                            <option value="BG">保加利亚</option>
                                            <option value="MP">北马里亚纳群岛</option>
                                            <option value="BJ">贝宁</option>
                                            <option value="BE">比利时</option>
                                            <option value="IS">冰岛</option>
                                            <option value="PR">波多黎各</option>
                                            <option value="PL">波兰</option>
                                            <option value="BA">波斯尼亚和黑塞哥维那</option>
                                            <option value="BO">玻利维亚</option>
                                            <option value="BZ">伯利兹</option>
                                            <option value="BW">博茨瓦纳</option>
                                            <option value="BQ">博内尔</option>
                                            <option value="BT">不丹</option>
                                            <option value="BF">布基纳法索</option>
                                            <option value="BI">布隆迪</option>
                                            <option value="BV">布韦岛</option>
                                            <option value="KP">朝鲜</option>
                                            <option value="GQ">赤道几内亚</option>
                                            <option value="DK">丹麦</option>
                                            <option value="DE">德国</option>
                                            <option value="TL">东帝汶</option>
                                            <option value="TG">多哥</option>
                                            <option value="DO">多米尼加共和国</option>
                                            <option value="DM">多米尼克</option>
                                            <option value="RU">俄罗斯</option>
                                            <option value="EC">厄瓜多尔</option>
                                            <option value="ER">厄立特里亚</option>
                                            <option value="FR">法国</option>
                                            <option value="FO">法罗群岛</option>
                                            <option value="PF">法属波利尼西亚</option>
                                            <option value="GF">法属圭亚那</option>
                                            <option value="TF">法属南极地区</option>
                                            <option value="VA">梵蒂冈城</option>
                                            <option value="PH">菲律宾</option>
                                            <option value="FJ">斐济群岛</option>
                                            <option value="FI">芬兰</option>
                                            <option value="CV">佛得角</option>
                                            <option value="FK">福克兰群岛(马尔维纳斯群岛)</option>
                                            <option value="GM">冈比亚</option>
                                            <option value="CD">刚果(DRC)</option>
                                            <option value="CG">刚果共和国</option>
                                            <option value="CO">哥伦比亚</option>
                                            <option value="CR">哥斯达黎加</option>
                                            <option value="GG">格恩西岛</option>
                                            <option value="GD">格林纳达</option>
                                            <option value="GL">格陵兰</option>
                                            <option value="GE">格鲁吉亚</option>
                                            <option value="CU">古巴</option>
                                            <option value="GP">瓜德罗普岛</option>
                                            <option value="GU">关岛</option>
                                            <option value="GY">圭亚那</option>
                                            <option value="KZ">哈萨克斯坦</option>
                                            <option value="HT">海地</option>
                                            <option value="KR">韩国</option>
                                            <option value="NL">荷兰</option>
                                            <option value="HM">赫德和麦克唐纳群岛</option>
                                            <option value="ME">黑山共和国</option>
                                            <option value="HN">洪都拉斯</option>
                                            <option value="KI">基里巴斯</option>
                                            <option value="DJ">吉布提</option>
                                            <option value="KG">吉尔吉斯斯坦</option>
                                            <option value="GN">几内亚</option>
                                            <option value="GW">几内亚比绍</option>
                                            <option value="CA">加拿大</option>
                                            <option value="GH">加纳</option>
                                            <option value="GA">加蓬</option>
                                            <option value="KH">柬埔寨</option>
                                            <option value="CZ">捷克共和国</option>
                                            <option value="ZW">津巴布韦</option>
                                            <option value="CM">喀麦隆</option>
                                            <option value="QA">卡塔尔</option>
                                            <option value="KY">开曼群岛</option>
                                            <option value="CC">科科斯群岛(基灵群岛)</option>
                                            <option value="KM">科摩罗联盟</option>
                                            <option value="CI">科特迪瓦共和国</option>
                                            <option value="KW">科威特</option>
                                            <option value="HR">克罗地亚</option>
                                            <option value="KE">肯尼亚</option>
                                            <option value="CK">库可群岛</option>
                                            <option value="CW">库拉索</option>
                                            <option value="LV">拉脱维亚</option>
                                            <option value="LS">莱索托</option>
                                            <option value="LA">老挝</option>
                                            <option value="LB">黎巴嫩</option>
                                            <option value="LT">立陶宛</option>
                                            <option value="LR">利比里亚</option>
                                            <option value="LY">利比亚</option>
                                            <option value="LI">列支敦士登</option>
                                            <option value="RE">留尼汪岛</option>
                                            <option value="LU">卢森堡</option>
                                            <option value="RW">卢旺达</option>
                                            <option value="RO">罗马尼亚</option>
                                            <option value="MG">马达加斯加</option>
                                            <option value="IM">马恩岛</option>
                                            <option value="MV">马尔代夫</option>
                                            <option value="MT">马耳他</option>
                                            <option value="MW">马拉维</option>
                                            <option value="MY">马来西亚</option>
                                            <option value="ML">马里</option>
                                            <option value="MK">马其顿, 前南斯拉夫共和国</option>
                                            <option value="MH">马绍尔群岛</option>
                                            <option value="MQ">马提尼克岛</option>
                                            <option value="YT">马约特岛</option>
                                            <option value="MU">毛里求斯</option>
                                            <option value="MR">毛利塔尼亚</option>
                                            <option value="US">美国</option>
                                            <option value="AS">美属萨摩亚</option>
                                            <option value="UM">美属外岛</option>
                                            <option value="VI">美属维尔京群岛</option>
                                            <option value="MN">蒙古</option>
                                            <option value="MS">蒙特塞拉特</option>
                                            <option value="BD">孟加拉国</option>
                                            <option value="PE">秘鲁</option>
                                            <option value="FM">密克罗尼西亚</option>
                                            <option value="MM">缅甸</option>
                                            <option value="MD">摩尔多瓦</option>
                                            <option value="MA">摩洛哥</option>
                                            <option value="MC">摩纳哥</option>
                                            <option value="MZ">莫桑比克</option>
                                            <option value="MX">墨西哥</option>
                                            <option value="NA">纳米比亚</option>
                                            <option value="ZA">南非</option>
                                            <option value="AQ">南极洲</option>
                                            <option value="GS">南乔治亚和南德桑威奇群岛</option>
                                            <option value="NR">瑙鲁</option>
                                            <option value="NP">尼泊尔</option>
                                            <option value="NI">尼加拉瓜</option>
                                            <option value="NE">尼日尔</option>
                                            <option value="NG">尼日利亚</option>
                                            <option value="NU">纽埃</option>
                                            <option value="NO">挪威</option>
                                            <option value="NF">诺福克岛</option>
                                            <option value="PW">帕劳群岛</option>
                                            <option value="PN">皮特凯恩群岛</option>
                                            <option value="PT">葡萄牙</option>
                                            <option value="JP">日本</option>
                                            <option value="SE">瑞典</option>
                                            <option value="CH">瑞士</option>
                                            <option value="SV">萨尔瓦多</option>
                                            <option value="WS">萨摩亚</option>
                                            <option value="RS">塞尔维亚共和国</option>
                                            <option value="SL">塞拉利昂</option>
                                            <option value="SN">塞内加尔</option>
                                            <option value="CY">塞浦路斯</option>
                                            <option value="SC">塞舌尔</option>
                                            <option value="XS">沙巴岛</option>
                                            <option value="SA">沙特阿拉伯</option>
                                            <option value="BL">圣巴泰勒米岛</option>
                                            <option value="CX">圣诞岛</option>
                                            <option value="ST">圣多美和普林西比</option>
                                            <option value="SH">圣赫勒拿岛</option>
                                            <option value="KN">圣基茨和尼维斯</option>
                                            <option value="LC">圣卢西亚</option>
                                            <option value="MF">圣马丁岛</option>
                                            <option value="SX">圣马丁岛</option>
                                            <option value="SM">圣马力诺</option>
                                            <option value="PM">圣皮埃尔岛和密克隆岛</option>
                                            <option value="VC">圣文森特和格林纳丁斯</option>
                                            <option value="XE">圣尤斯特歇斯岛</option>
                                            <option value="LK">斯里兰卡</option>
                                            <option value="SK">斯洛伐克</option>
                                            <option value="SI">斯洛文尼亚</option>
                                            <option value="SZ">斯威士兰</option>
                                            <option value="SD">苏丹</option>
                                            <option value="SR">苏里南</option>
                                            <option value="SB">所罗门群岛</option>
                                            <option value="SO">索马里</option>
                                            <option value="TJ">塔吉克斯坦</option>
                                            <option value="TW">台湾</option>
                                            <option value="TH">泰国</option>
                                            <option value="TZ">坦桑尼亚</option>
                                            <option value="TO">汤加</option>
                                            <option value="TC">特克斯和凯科斯群岛</option>
                                            <option value="TT">特立尼达和多巴哥</option>
                                            <option value="TN">突尼斯</option>
                                            <option value="TV">图瓦卢</option>
                                            <option value="TR">土耳其</option>
                                            <option value="TM">土库曼斯坦</option>
                                            <option value="TK">托克劳</option>
                                            <option value="WF">瓦利斯和富图纳</option>
                                            <option value="VU">瓦努阿图</option>
                                            <option value="GT">危地马拉</option>
                                            <option value="VG">维尔京群岛(英属)</option>
                                            <option value="VE">委内瑞拉</option>
                                            <option value="BN">文莱</option>
                                            <option value="UG">乌干达</option>
                                            <option value="UA">乌克兰</option>
                                            <option value="UY">乌拉圭</option>
                                            <option value="UZ">乌兹别克斯坦</option>
                                            <option value="ES">西班牙</option>
                                            <option value="GR">希腊</option>
                                            <option value="HK">香港特别行政区</option>
                                            <option value="SG">新加坡</option>
                                            <option value="NC">新喀里多尼亚</option>
                                            <option value="NZ">新西兰</option>
                                            <option value="HU">匈牙利</option>
                                            <option value="SY">叙利亚</option>
                                            <option value="JM">牙买加</option>
                                            <option value="AM">亚美尼亚</option>
                                            <option value="SJ">扬马延岛</option>
                                            <option value="YE">也门</option>
                                            <option value="IQ">伊拉克</option>
                                            <option value="IR">伊朗</option>
                                            <option value="IL">以色列</option>
                                            <option value="IT">意大利</option>
                                            <option value="IN">印度</option>
                                            <option value="ID">印度尼西亚</option>
                                            <option value="UK">英国</option>
                                            <option value="IO">英属印度洋领地</option>
                                            <option value="JO">约旦</option>
                                            <option value="VN">越南</option>
                                            <option value="ZM">赞比亚</option>
                                            <option value="JE">泽西</option>
                                            <option value="TD">乍得</option>
                                            <option value="GI">直布罗陀</option>
                                            <option value="CL">智利</option>
                                            <option value="CF">中非共和国</option>
                                            <option value="CN" selected="">中国</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="name" class="col-sm-4 col-md-4 col-lg-2 control-label">新浪微博</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <input type="text" name="user_weibo" class="form-control" value="<?php echo ($user['weibo']); ?>" placeholder="输入您的微博地址">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="name" class="col-sm-4 col-md-4 col-lg-2 control-label">github</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <input type="text" name="user_github" class="form-control" value="<?php echo ($user['github']); ?>" placeholder="输入您的github地址">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="signature" class="col-sm-4 col-md-4 col-lg-2 control-label">个性签名</label>
                                    <div class="col-sm-8 col-md-8 col-lg-4">
                                        <input type="name" class="form-control" name="user_about" value="<?php echo ($user['sign']); ?>" placeholder="这家伙很懒 什么都没留下">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="password" class="col-sm-3 col-md-3 col-lg-2 control-label"></label>
                                    <div class="col-sm-6 col-md-6 col-lg-4" id="btnProfile">
                                        <a  class="btn btn-primary" href="javascript:" onclick="onRegisterClick();">立即修改</a><p class="tips" id="msg_notice"></p>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
</div>
<script src="/public/Home/assets/js/amazeui.min.js"></script>
<script src="/public/Home/assets/js/amazeui.datatables.min.js"></script>
<script src="/public/Home/assets/js/dataTables.responsive.min.js"></script>
<script src="/public/Home/assets/js/app.js"></script>
<script>

    function onRegisterClick() {
        var name = $('#name').attr('placeholder');
        var img = $('input[name=image]').val();
        var country = $('#country').val();
        var weibo = $('input[name=user_weibo]').val();
        var github = $('input[name=user_github]').val();
        var about = $('input[name=user_about]').val();
        $.ajax({
            type: "POST",
            url: '<?php echo U("user/myintro_xiugai");?>',
            dataType:'json',
            cache: false,
            data: {name:name,img:img,country:country,weibo:weibo,github:github,about:about},
            success:function(data) {
                if(data.status == 0) {
                    alert(data.message);
                    return;
                }
            },
            error: function(xhr, status, error) {
                console.log(xhr);
                console.log(status);
                console.log(error);
            }
        });
    }

</script>
</body>

</html>